﻿using System;
using System.Collections.Generic;
using System.Text;
using DotNet.Common.Command;
using ZLCMS.Web.ZLOAuth.Code;

namespace ZLSTORE.Web.ZLOAuth.Code.Member
{
    /// <summary>
    /// GetMemberCodeCode命令参数
    /// </summary>
    public class GetMemberTokenParameter : CommandParameter
    {
        public string AuthCode { get; set; }

        public string UserCode { get; set; }
    }

    /// <summary>
    /// GetMemberCodeCode命令调用输出
    /// </summary>
    public class GetMemberTokenResult
    {
        public string Token { get; set; }

        public string Name { get; set; }

        public string Photo { get; set; }

        public string Sex { get; set; }
    }

    /// <summary>
    /// GetMemberCodeCode命令
    /// </summary>
    public class GetMemberTokenCommand : ExternalInterfaceCommand<GetMemberTokenResult>
    {
        protected override string Key
        {
            get { return "GetMemberToken"; }
        }
    }
}
